package com.lantosec.hmrp.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.system.entity.SysLoginLog;
import com.lantosec.hmrp.modules.system.mapper.SysLoginLogMapper;
import com.lantosec.hmrp.modules.system.service.ISysLoginLogService;
import com.lantosec.hmrp.modules.system.vo.SysLoginLogVO;
import lombok.extern.log4j.Log4j2;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-19
 */
@Service
@Primary
@Log4j2
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, SysLoginLog> implements ISysLoginLogService {

    @Override
    public Page<SysLoginLogVO> queryPage(PageVO<SysLoginLogVO> page, SysLoginLogVO condition) {
        return baseMapper.queryPage(page, condition);
    }
}
